# -*- coding:utf-8 -*-
# del语句
lists = [1,2,3,4,5]

# 删除切片
del lists[0:1]
print(lists) # [2, 3, 4, 5]
del lists[:]
print(lists, type(lists)) #([], <type 'list'>)

# 删除变量
del lists
#print(lists) # name 'lists' is not defined
